package com.itheima.commons.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.List;

/**
 * 测灵魂的题目
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "soul_question")
public class SoulQuestion implements Serializable {


    private ObjectId id;//
    private String question;//内容
    private Integer type;//1-初级 2-中级 3-高级
    private List<ObjectId> options;//选项的ids

}
